extends ../layout

block main
	ul.breadcrumb
		li
			i.icon-home
		li
			i.icon-angle-right
		li
			a(href="/") 面板


	div(class="row-fluid sortable")
		div(class="box span12")
			div(class="box-header", data-original-title)
				h2
					i(class="halflings-icon user")
					span.break
					| 玩家

			div.box-content
				table(class="table table-striped table-bordered bootstrap-datatable datatable")
					thead
						tr
							th id
							th 名字
							th 头像
							th 手机
							th 微信ID
							th 上次登录
					tbody
						- each customer in customers
							tr
								td= customer.id
								td= customer.get('name')
								td
									img(src="#{customer.get('avatar')}", width=50, height=50)
								td= customer.get('mobile')
								td= customer.get('uid')
								td= moment(new Date(customer.get('last_login'))).format()
